<?php
/*
 * @ https://EasyToYou.eu - IonCube v11 Decoder Online
 * @ PHP 7.2 & 7.3
 * @ Decoder version: 1.1.6
 * @ Release: 10/08/2022
 */

// Decoded file for php version 71.
include_once dirname(__FILE__) . "/../../AdapaySdk/init.php";
include_once dirname(__FILE__) . "/../config.php";
$corp_member = new AdaPaySdk\CorpMember();
$file_real_path = realpath("123.zip");
print_r($file_real_path);
$member_params = ["app_id" => "app_7d87c043-aae3-4357-9b2c-269349a980d6", "member_id" => "vrleo_business_test_" . date("YmdHis") . rand(1000, 9999), "order_no" => date("YmdHis") . rand(100000, 999999), "name" => "上海狮峪智能科技有限公司", "prov_code" => "0031", "area_code" => "3100", "social_credit_code" => "91310104MA1FR7RT8G", "social_credit_code_expires" => "20991231", "business_scope" => "计算机网络科技、计算机科技、计算机系统集成领域内的技术开发", "legal_person" => "陈修超", "legal_cert_id" => "321088198511188530", "legal_cert_id_expires" => "20360704", "legal_mp" => "15618705189", "address" => "上海市徐汇区华泾路509号7幢377室", "zip_code" => "200030", "telphone" => "15900934709", "email" => "feagle@7663.com", "attach_file" => new CURLFile($file_real_path), "bank_code" => "04020031", "bank_acct_type" => "1", "card_no" => "50131000600408855", "card_name" => "上海狮峪智能科技有限公司"];
var_dump($member_params);
$corp_member->create($member_params);
if($corp_member->isError()) {
    var_dump($corp_member->result);
} else {
    var_dump($corp_member->result);
}

?>